import Vue from "vue";
//引入到Vue下面
//ElementUI组件库
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import App from "./App.vue";
import router from "./router/index.js";
import store from '@/store/index.js'
//权限拦截
import './permission';
//调用 ElementUI

Vue.use(ElementUI);

Vue.config.productionTip = process.env.NODE_ENV === 'production';
// console.log(process.env.NODE_ENV); //开发环境 process.env.NODE_ENV值为'development'  生产环境  process.env.NODE_ENV值为'production'

console.log(process.env.VUE_APP_SERVICE_URL);
new Vue({
    router,
    store,
    render: h => h(App)
}).$mount("#app");